package com.pactera.asmp.server.dao;

import com.pactera.asmp.server.entity.TaskDeviceMemoryLog;
import com.pactera.asmp.server.entity.TaskDeviceMemoryLogExample;
import com.pactera.asmp.server.pojo.ReportHmiMemoryInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TaskDeviceMemoryLogMapper {
    long countByExample(TaskDeviceMemoryLogExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TaskDeviceMemoryLog record);

    int insertSelective(TaskDeviceMemoryLog record);

    List<TaskDeviceMemoryLog> selectByExample(TaskDeviceMemoryLogExample example);

    TaskDeviceMemoryLog selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TaskDeviceMemoryLog record);

    int updateByPrimaryKey(TaskDeviceMemoryLog record);

    List<ReportHmiMemoryInfo> selectStatisticByTaskId(Long id);
}